import request from './request'
const { get } = request
export default new class HomeRequest {
  // // http://123.207.32.32:8000/api/v1/home/multidata
  async getHomeMultidata() {
    return await get('/home/multidata')
  }

  // http://123.207.32.32:8000/api/v1/home/data?type=new&page=1
  async getHomeGoods(type, page) {
    return await get('/home/data', { type, page })
  }
}
